//
//  UIViewController+KSNavigationItem.h
//  BasketBallLeagues
//
//  Created by kenshin on 4/23/17.
//  Copyright © 2017 kenshin. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface UIViewController (KSNavigationItem)

// 添加左侧返回按钮
- (UIButton *)ks_setupLeftBackBarButtonItem;
- (UIButton *)ks_setupLeftBackBarButtonItemWithColor:(UIColor *)color;
// 返回按钮点击事件处理
- (void)ks_leftBackButtonPressed:(id)sender;

// 添加左侧按钮
- (UIButton *)ks_setupLeftButtonItemWithTitle:(NSString *)title
                                        image:(UIImage *)image
                             highLightedImage:(UIImage *)highLightedImage;
// 左侧按钮事件处理，子类实现
- (void)ks_leftButtonPressed:(id)sender;

// 添加右侧按钮
- (UIButton *)ks_setupRightButtonItemWithTitle:(NSString *)title
                                         image:(UIImage *)image
                              highLightedImage:(UIImage *)highLightedImage;
// 右侧按钮事件处理，子类实现
- (void)ks_rightButtonPressed:(id)sender;

@end
